  	<?php if(!empty($output['list'])){?>
  	<?php foreach($output['list'] as $val){?>
  	<a href="index.php?act=my&op=home&uid=<?php echo $val['user_id'];?>">
    <div class="friend">
      <div class="avatar" style="background-image: url(<?php echo $val['avatar'];?>)"></div>
      <div class="friendDetails">
        <div class="nickname">
          <div class="level sellerLevel l<?php echo strtolower($val['level']);?>"></div>
          <?php echo $val['nickname'];?>
        </div>
        <div class="signature"><?php echo $val['signature'];?></div>
      </div>
      <div class="attention noDisturb">
        <div class="status unsubscribe"></div>
      </div>
    </div>
    </a>
    <?php }?>
	<?php }?>